net/http.persistConn.idleTimer (field)
6 uses
net/http (current package)
transport.go#L1161: if pconn.idleTimer != nil {
transport.go#L1162: pconn.idleTimer.Reset(t.IdleConnTimeout)
transport.go#L1164: pconn.idleTimer = time.AfterFunc(t.IdleConnTimeout, pconn.closeConnIfStillIdle)
transport.go#L1272: if pconn.idleTimer != nil {
transport.go#L1273: pconn.idleTimer.Stop()
transport.go#L2146: idleTimer *time.Timer // holding an AfterFunc to close it
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |